package com.pt.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pt.common.annotation.Excel;
import com.pt.common.core.domain.BaseEntity;

/**
 * 课程管理对象 trainingcourse
 * 
 * @author ruoyi
 * @date 2025-02-21
 */
public class Trainingcourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程序号 */
    @Excel(name = "课程序号")
    private Long CourseID;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String CourseName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date StartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date EndTime;

    /** 课程码 */
    @Excel(name = "课程码")
    private String CourseCode;

    public void setCourseID(Long CourseID) 
    {
        this.CourseID = CourseID;
    }

    public Long getCourseID() 
    {
        return CourseID;
    }
    public void setCourseName(String CourseName) 
    {
        this.CourseName = CourseName;
    }

    public String getCourseName() 
    {
        return CourseName;
    }
    public void setStartTime(Date StartTime) 
    {
        this.StartTime = StartTime;
    }

    public Date getStartTime() 
    {
        return StartTime;
    }
    public void setEndTime(Date EndTime) 
    {
        this.EndTime = EndTime;
    }

    public Date getEndTime() 
    {
        return EndTime;
    }
    public void setCourseCode(String CourseCode) 
    {
        this.CourseCode = CourseCode;
    }

    public String getCourseCode() 
    {
        return CourseCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("CourseID", getCourseID())
            .append("CourseName", getCourseName())
            .append("StartTime", getStartTime())
            .append("EndTime", getEndTime())
            .append("CourseCode", getCourseCode())
            .toString();
    }
}
